from flask import Blueprint
from flask_restful import Api

from .views.user_views import UserResource

__all__ = ('user_bp', )

user_bp = Blueprint('user', __name__, url_prefix='/user')

user_api = Api(user_bp)

# Set route
user_api.add_resource(UserResource, '/')
